insert into fz223_ppa.INT_USERS (ID,LOGIN,PASSWORD,DESCRIPTION,INT_SETTINGS_ID,FAKE_USER_ID,CREATED_AT,UPDATED_AT)  values( fz223_ppa.seq_int_users.nextval, '&&LOGIN','&&PASSWORD','Описание', (select id from fz223_ppa.int_settings where agency_id = (select id from fz223_ppa.agency where full_name= '&&FULL_NAME' AND ogrn='&&OGRN')),(SELECT USER_ID FROM FZ223_ppa.users where login='&&LOGIN' AND agency_id= (select id from fz223_ppa.agency where full_name= '&&FULL_NAME' AND ogrn='&&OGRN') AND is_fake = 1), sysdate, sysdate);